<template>
    <div>
        <Ceshi
        v-on:titleChange="titleChange($event)"
        >
        <span>{{ tab }}</span>
        </Ceshi>
    </div>
</template>

<script>
    export default {
        name:'Car',
        data() {
            return {
                tab:''
            }
        },
        methods: {
            titleChange(title) {
               this.tab = title;
            }
        },
    }
</script>

<style lang="scss" scoped>

</style>